import updateManager from './common/updateManager';

App({
	onLaunch: function () {
		const token = wx.getStorageSync('token');
		this.globalData.isLogin = !!token;
	},
	onShow: function () {
		updateManager();
	},
	globalData: {
		isLogin: false
	}
});
